html {
    text-size-adjust: 100%;
    font-size: 10px;
}

body {
    font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif;
    font-weight: 400;
    color: rgb(51, 51, 51);
    font-size: 1.6rem;
    margin: 0px;
    background: rgb(255, 255, 255);
}

small {
    font-size: 80%;
}

ul {
    margin-top: 0;
}

ol,
ul {
    padding-left: 2em;
    margin: 0 0 1.6rem;
}

a:focus,
a:hover {
    color: rgb(9, 95, 138);
}

a:active,
a:hover {
    outline: 0px;
}

a,
ins {
    text-decoration: none;
}

/* header */
.am-list {
    margin-bottom: 1.6rem;
}

.example-header {
    font-size: 1.4rem;
    background: rgb(248, 248, 248);
    border-width: 0px 0px 1px;
    border-style: solid;
    border-color: rgb(221, 221, 221);
    padding : 10px;
}

.example-header,
.example-header a {
    color: #666;
}

.example-header-brand {
    display: flex;
    flex-direction: column;
    font-size: 18px;
}

.ag-button {
    position: relative;
    border: 1px solid #cccccc;
    outline: 0;
    background-color: white;
    color: #222222;
    min-width: 74px;
    min-height: 32px;
    appearance: none;
    box-sizing: border-box;
    user-select: none;
    padding: 2px 8px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 4px;
}

.ag-button:hover {
    background-color: #E5E5E5;
}

.ag-button:active {
    background-color: #CFCFCF;
}

/* primary */

.ag-button-primary {
    background: #0075FF;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
    margin: 0;
    padding: 8px 16px;
    cursor: pointer;
    transition: .1s;
    -webkit-transition: .1s;
    margin-right: 4px;
}

.ag-button-primary:hover {
    background-color: #003DF3;
}

.ag-button-primary:active {
    background-color: #89a4f7;
}
/* -------------------------  main -------------------------*/

.example-main {
    position: absolute;
    top: 0px;
    bottom: 5px;
    left: 0;
    right: 0;
    display: flex;
}

/* left */
.example-sidebar {
    width: 200px;
    height: 100%;
    overflow-y: auto;
    border-right: solid 1px #CCC;
}

.example-sidebar-list {
    padding-left: 0;
    margin-bottom: 0;
}

.example-sidebar-list>li {
    position: relative;
    display: block;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #dedede;
    border-width: 1px 0;
    cursor: pointer;
}

.example-sidebar-list>li.active {
    background-color: #E0F0FF;
}

.example-sidebar-list>li:hover {
    background-color: #dedede;
}

.example-sidebar-list li:first-child {
    border-top: none;
}

.example-sidebar-list>li>span {
    color: #5c5c5c;
    margin-left: 24px;
    display: block;
    padding: 12px 0 12px 4px;
}

/*------------------------- main-content -------------------------*/

.example-content {
    flex: 1;
    width: auto;
    height: 100%;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* -------- toolbar -------- */
.toolbar {
    padding: 10px 2px;
    display: flex;
    height: 44px;
    background: rgb(248, 248, 248);
}

.toolbar .part1 {
    width: 25%;
    display: flex;
    align-items: end;
}

.toolbar .part2 {
    flex: 1;
    display: flex;
    align-items: center;
}

.toolbar .part2 label {
    margin-right: 20px;
    font-size: 14px;
}

/* -------- content -------- */
.am-main {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.am-form-left {
    width: 25%;
    /* border: solid 1px #CCC; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.am-form-left >* {
    margin: 4px;
}

.am-form-right {
    flex: 1;
    /* border: solid 1px #CCC; */
}

textarea {
    box-sizing: border-box;
    width: calc(100% - 6px);
    outline: none;
    resize: none;
    border: solid 1px #E5E5E5;
    font-size: 14px;
    line-height: 24px;
}

#txtContent {
    height: 55%;
}

#txtResult {
    flex: 1;
    color: red;
}

.mindmap {
    margin-left: 2px;
    height: 100%;
    width: 100%;
    border: solid 1px #CCC;
    box-sizing: border-box;
}